package com.qsl.system.mapper;

import com.qsl.model.system.SysMenu;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author qsl
 * @since 2023-03-29
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    // 根据用户id查询用户权限
    List<SysMenu> findMenuListUserId(String userId);
}
